<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<h1>订单展示</h1>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>显示订单信息</h1>
            </div>
        </div>
        <div class="row">
            <div class="form-group">
                <label >订单编号 : ${order.oid}</label>
            </div>
            <div class="form-group">
                <label >数量 : ${order.num}</label>
            </div>
            <div class="form-group">
                <label>总价: ${order.value} </label>
            </div>
            <div class="form-group">
                <label>创建日期 ：${order.createDate}</label>
            </div>
            <div class="form-group">
                <label>行程开始日期 ：${order.startDate}</label>
            </div>
        </div>



    </div>

    <div class="row clearfix">
        <div class="col-md-12 column">
            <form action="${pageContext.request.contextPath}/user/addComment" method="post" enctype="multipart/form-data">
                <input type="hidden" name="oid" value="${order.oid}">
                <div class="form-group">
                    <label for="comm">输入评论</label>
                    <input type="text" name="comm" class="form-control" id="comm"  required>
                </div>
                <div class="form-group">
                    <label>添加图片:（最多添加三张） </label>
                    <input  type="file" name="files"  class="form-control" />
                    <input  type="file" name="files"  class="form-control" />
                    <input  type="file" name="files"  class="form-control" />
                </div>

                <button type="submit" class="btn btn-default">提交</button>
            </form>
        </div>
    </div>


</div>




</body>
</html>
